package questions;

public class QuestionOneAnswer extends Question {
	public QuestionOneAnswer(String question, String correctAnswer,
			String answers) {
		this.question = question;
		this.correctAnswer = correctAnswer;
		this.answers = answers;
	}
	
	public boolean isCorrectAnswer(String answer)
	{
		if(correctAnswer.toUpperCase().indexOf(answer.toUpperCase())!=-1) return true;
		return false;
	}
}
